﻿@using Fierce.MvcExtend.Controls.Manage
@model Fierce.Entity.Basic.BasicFunction

<form id="dform" method="post" class="document-form-example">
    <div class="document-row">
        <label class="document-label">功能图标</label>
        <input id="iptIcon" name="Icon" value="@Model.Icon" />
        <span class="document-info">当类型为功能按钮时，此项为按钮的小图标。</span>
    </div>
    <div class="document-row">
        <label class="document-label">名称</label>
        <input name="Name" class="easyui-textbox" data-options="required:true" value="@Model.Name" />
    </div>
    <div class="document-row">
        <div class="easyui-radio">
            <label class="document-label document-label-radio">功能类型</label>
            @Easyui.RadioItem("Type", "func", "功能", Model.Type)
            @Easyui.RadioItem("Type", "purview", "权限", Model.Type)
        </div>
        <span class="document-info document-zero-top">具体表示功能的作用类型，一般情况下功能为按钮。</span>
    </div>
    <div class="document-row document-row-flex">
        <div class="document-cell">
            <label class="document-label">功能标记</label>
            <input name="Func" class="easyui-textbox" value="@Model.Func" />
            <span class="document-info">用于 UI 组件或函数的标记。</span>
        </div>
        <div class="document-cell-space"></div>
        <div class="document-cell">
            <label class="document-label">权限标记</label>
            <input name="Purview" class="easyui-textbox" value="@Model.Purview" />
            <span class="document-info">承担权限识别标记的作用。</span>
        </div>
    </div>
    <div class="document-row document-zero-bottom">
        <label class="document-label">功能描述信息</label>
        <input name="Remark" class="easyui-textbox" data-options="multiline:true,height:80" value="@Model.Remark" />
    </div>
    <input type="hidden" name="ID" value="@Model.ID" />
    <input type="hidden" name="Sequence" value="@Model.Sequence" />
    <input type="hidden" name="InsertTime" value="@Model.InsertTime" />
</form>